package site;

import java.util.ArrayList;
import javax.ejb.Stateless;
import javax.persistence.*;

@Stateless
public class SiteManager {
	
	@PersistenceContext
	EntityManager em;
	
	@SuppressWarnings("unchecked")
	public ArrayList<Activite> listeAct() {
        return (ArrayList<Activite>) em.createNamedQuery("ListeActivite").getResultList() ;
	}

}
